package com.fivefu.core.skyeye.event.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.fivefu.core.skyeye.event.entity.DbAiEvent;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 事件表 Mapper 接口
 * </p>
 *
 * @author 
 * @since 2022-08-24 11:57:38
 */
public interface DbAiEventMapper extends BaseMapper<DbAiEvent> {

    //分页查询事件列表
    Page<DbAiEvent> getAiEventList(Page<DbAiEvent> iPage, @Param("cameraid") String cameraid, @Param("sceneid") String sceneid);

    //不分页查询事件列表
    List<DbAiEvent> getAiEventList(@Param("cameraid") String cameraid, @Param("sceneid") String sceneid);
}
